package com.mrjy.wechat.dao;

import java.util.List;

import com.mrjy.common.entity.WxAccountFans;
import com.mrjy.wechat.page.Pagination;
import com.mrjy.wechat.process.MpAccount;


public interface AccountFansDao {

	public WxAccountFans getById(String id);

	public WxAccountFans getByOpenId(String openId);
	
	public List<WxAccountFans> list(WxAccountFans searchEntity);

	public Integer getTotalItemsCount(WxAccountFans searchEntity);
	
	public List<WxAccountFans> paginationEntity(WxAccountFans searchEntity ,Pagination<WxAccountFans> pagination);

	public WxAccountFans getLastOpenId(String account);
	
	public void add(WxAccountFans entity);
	
	public void addList(List<WxAccountFans> list);

	public void update(WxAccountFans entity);

	public void delete(WxAccountFans entity);

	public void deleteByOpenId(String openId);

}